package com.ruoyi.contract.annotation.enums;

/**
 * Created by zhangxiang on 2021/10/20.
 */
public enum ConBusinessOperType {
    /**
     * 插入
     */
    INSERT("INSERT","新增合同"),

    /**
     * 编辑合同
     */
    EDIT("EDIT","编辑合同"),

    /**
     * 推送线上会签
     */
    SIGN("SIGN","推送线上会签"),

    /**
     * 完成线上会签
     */
    SIGN_COMP("SIGN_COMP","完成线上会签"),

    /**
     * 印章审批被驳回
     */
    SIGN_REJECT("SIGN_REJECT","会签驳回"),

    /**
     * 印章申请
     */
    SEAL_APPLY("SEAL_APPLY","印章申请"),

    /**
     * 印章申请通过
     */
    SEAL_COMP("SEAL","印章申请通过"),

    /**
     * 印章申请被驳回
     */
    SEAL_REJECT("SEAL_REJECT","印章驳回"),

    /**
     * 货代收款结算单申请通过
     */
    BILLSETTLEMENT_COMP("BILLSETTLEMENT_COMP","货代收款结算单申请通过"),

    /**
     * 货代收款结算单驳回
     */
    SBILLSETTLEMENT_REJECT("SBILLSETTLEMENT_REJECT","货代收款结算单驳回"),

    /**
     * 上传正本
     */
    UPLOAD_OFFICIAL("UPLOAD_OFFICIAL","上传正本"),

    /**
     * 合同审批
     */
    CHECK("CHECK","完成审批"),

    /**
     * 取消审批
     */
    CHECK_CANCEL("CHECK_CANCEL","取消审批"),

    /**
     * 临时生效
     */
    TEMP_EFFECT("TEMP_EFFECT","临时生效"),

    /**
     * 合同冻结
     */
    FORZEN("FORZEN","合同冻结"),

    /**
     * 解冻合同
     */
    FORZEN_NONE("FORZEN_NONE","解冻合同"),

    /**
     * 合同作废
     */
    INVALID("INVALID","作废合同"),

    /**
     * 新增费率
     */
    INSERT_RATE("INSERT_RATE","新增费率"),

    /**
     * 更新费率
     */
    UPDATE_RATE("UPDATE_RATE","更新费率"),

    /**
     * 添加内部对象
     */
    ADD_INNER("ADD_INNER","添加内部对象"),

    /**
     * 添加外部对象
     */
    ADD_OUT("ADD_OUT","添加外部对象"),

    /**
     * 合同延期
     */
    CON_DELAY("CON_DELAY","合同延期"),

    /**
     * 其他
     */
    OTHER("OTHER","其他");
    private final String code;
    private final String name;

    ConBusinessOperType(String code, String name){
        this.code = code;
        this.name = name;
    }

    public String getCode()
    {
        return code;
    }

    public String getName()
    {
        return name;
    }

}
